package gat.infrastructure.persistence.po.log;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bitsun.core.framwork.infrastructure.persistence.po.BasePo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

/**
 * 
 * @author: yanshukeji-java
 * @email: yanshukeji-java
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName(value = "log", resultMap = "logMap")
public class LogPo extends BasePo<LogPo> implements Serializable{
    private static final long serialVersionUID = 1L;

    public LogPo(){

    }
    public LogPo(Long id){
        this.id = id;
    }

    /**
     * 用户编号 VARCHAR
     */
    private String userCode;

    /**
     * 用户手机号 VARCHAR
     */
    private String phone;

    /**
     * 用户名称 VARCHAR
     */
    private String username;

    /**
     * 用户昵称 VARCHAR
     */
    private String nickname;

    /**
     * 描述 TEXT
     */
    private String description;

    /**
     * 方法名 VARCHAR
     */
    private String method;

    /**
     * 参数 TEXT
     */
    private String params;

    /**
     *  INT
     */
    private Integer type;

    /**
     * 日志类型 VARCHAR
     */
    private String logType;

    /**
     * 请求ip VARCHAR
     */
    private String requestIp;

    /**
     * 地址 VARCHAR
     */
    private String address;

    /**
     * 浏览器 VARCHAR
     */
    private String brower;

    /**
     * 请求耗时 INT
     */
    private Long time;

    /**
     * 异常详情 TEXT
     */
    private String exceptionDetail;

}






